import { useState } from 'react'
import './App.css'
import routes from './router/Index'
import {BrowserRouter,useRoutes} from 'react-router-dom'
function App() {
  const [count, setCount] = useState(0)
  const El=()=>useRoutes(routes)

  return (
   <BrowserRouter>
   <El></El>
   </BrowserRouter>
  )
}

export default App
